<?php
class omeanalysts_ome_products extends ectools_analysis_abstract implements ectools_analysis_interface{
    public $detail_options = array(
        'hidden' => true,
    );

    public $graph_options = array(
        'hidden' => true,
    );

    public function finder(){
        return array(
            'model' => 'omeanalysts_mdl_ome_products',
            'params' => array(
                'actions'=>array(
                    array(
                        'label'=>app::get('omeanalysts')->_('生成报表'),
                        'class'=>'export',
                        'icon'=>'add.gif',
                        'href'=>'index.php?app=omeanalysts&ctl=ome_analysis&act=products&action=export',
                        'target'=>'{width:400,height:170,title:\'生成报表\'}'),
                ),
                'title'=>app::get('omeanalysts')->_('货品销售情况'),
                'use_buildin_recycle'=>false,
                'use_buildin_selectrow'=>false,
            ),
        );
    }
}